from Conference import Conference, SessionEndTime, Talk, Session


def main():
    print('input file path:')
    talks = []
    file = open(input())
    for line in file:
        line = line.strip('\n')
        talk = Talk(line, tag=len(talks))
        if talk.verifyContent():
            talks.append(talk)
    file.close()
    m_session = Session(9, SessionEndTime(12))
    af_session = Session(13, SessionEndTime(16, 17))
    con1 = Conference(m_session, af_session, talks)
    con1.print()


if __name__ == '__main__':
    main()

